/**
 * Created by xhc on 2017/3/30.
 */
$(function () {
    //项目根路径
    var basePath=$("#txtRootPath").val();

    //加载左边菜单
    initMenu(basePath);
    //修改密码
    $("#btnPwd").click(function(){

    });
});

//初始化菜单
function initMenu(sRoot) {

	$('.left-sidebar').sidebar({
		name:'sidebar',
		id:'sidebar',
		style:'',
        url:sRoot+"/index",
		expand:'X01'
	});
}

function test() {
    console.log(sysui['sidebar'].getSelectNode());
}

